package com.huawei.appmarket.service.settings.bean;

import com.huawei.appgallery.foundation.account.bean.UserSession;
import java.util.Locale;
import o.Logger;
import o.eqp;

public class SettingPushSmsCardBean extends BaseSettingCardBean {
    private static final String TAG = "SettingPushSmsCardBean";
    private static final long serialVersionUID = -150274616914681373L;

    public boolean ˋ(int i) {
        return ꜟ();
    }

    private boolean ꜟ() {
        boolean ᐝ = eqp.ᐝ();
        if (Logger.ˎ()) {
            Logger.ˏ(TAG, String.format(Locale.ENGLISH, "isChina:%s", new Object[]{Boolean.valueOf(ᐝ)}));
        }
        if (ᐝ) {
            return false;
        }
        boolean isLoginSuccessful = UserSession.getInstance().isLoginSuccessful();
        boolean isUserMinor = UserSession.getInstance().isUserMinor();
        if (Logger.ˎ()) {
            Logger.ˏ(TAG, String.format(Locale.ENGLISH, "isChina:%s isLogin:%s isMinor:%s", new Object[]{Boolean.valueOf(ᐝ), Boolean.valueOf(isLoginSuccessful), Boolean.valueOf(isUserMinor)}));
        }
        if (!isLoginSuccessful) {
            return true;
        }
        if (isUserMinor) {
            return true;
        }
        return false;
    }
}
